/**
 * 
 */
package com.flyco.modules.stm.service;



import com.flyco.modules.stm.vo.DistrictDto;
import com.flyco.modules.stm.vo.DistrictResult;

import java.util.List;

public interface DistrictService {

	DistrictDto selectOneById(Long id);

	List<DistrictDto> selectOneLevelDistrict();

	List<DistrictDto> selectAllDistrict();

	List<DistrictDto> selectChildDistrictData(Long parentDistrictId);

	List<DistrictResult> selectChildDistrictDataByParentId(Long parentDistrictId);
	
	Integer deleteDistrictDataById(Long id);

	Integer createDistrict(DistrictDto districtDto) ;

	Integer modifyDistrict(DistrictDto districtDto) ;
}
